package com.woniuxy.threeprojcet.end_water_project_admin.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.woniuxy.threeprojcet.end_water_project_admin.domain.MeterReading;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.threeprojcet.end_water_project_admin.domain.form.MeterReadingForm;

import java.util.Date;
import java.util.List;

/**
 * <p>
 * 水量表 服务类
 * </p>
 *
 * @author Lucas
 * @since 2021-08-26
 */
public interface IMeterReadingService extends IService<MeterReading> {

    int addMeterReading(MeterReadingForm meterReading);

    IPage  getMeterReading(IPage page);

    Date lastMeterTimeByWaterMeterId(String waterMeterId);

    IPage searchMeterReading(IPage page, String waterMeterId);
}
